/*
 * Created on 2005-3-14
 */
package com.hd123.rumba.user;

import java.util.Date;

import com.hd123.rumba.runtime.Persistent;

/**
 * @author caili
 */
public class PermissionCommission extends Persistent implements IPermissionCommission {
  private IUser fromUser;
  private IUser toUser;
  private Date validFrom;
  private Date validTo;
  private IPermission permission;

  public IUser getFromUser() {
    return fromUser;
  }

  public void setFromUser(IUser fromUser) {
    this.fromUser = fromUser;
  }

  public IPermission getPermission() {
    return permission;
  }

  public void setPermission(IPermission permission) {
    this.permission = permission;
  }

  public IUser getToUser() {
    return toUser;
  }

  public void setToUser(IUser toUser) {
    this.toUser = toUser;
  }

  public Date getValidFrom() {
    return validFrom;
  }

  public void setValidFrom(Date validFrom) {
    this.validFrom = validFrom;
  }

  public Date getValidTo() {
    return validTo;
  }

  public void setValidTo(Date validTo) {
    this.validTo = validTo;
  }
}
